﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;

namespace SJ.Platform.EFCore.Model.OrgManager;

[Table("sys_org")]
[Description("组织机构表")]
/// <summary>
/// 系统组织机构
/// </summary>
public partial class SysOrg
{
    /// <summary>
    /// 主键
    /// </summary>
    public string? Id { get; set; }

    /// <summary>
    /// 组织机构名称
    /// </summary>
    public string? OrgName { get; set; }

    /// <summary>
    /// 父级ID
    /// 
    /// </summary>
    public string? Pid { get; set; }

    /// <summary>
    /// 组织类型
    /// </summary>
    public int? OrgType { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Mark { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public DateTime? AddTime { get; set; }

    /// <summary>
    /// 添加人
    /// </summary>
    public string? AddUserId { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? EditTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string? EditUserId { get; set; }
}
